﻿@model Model.users

@{ 
    Layout = null;
}
<div id="login-box">
    <span class="cls-btn" onclick="closeLogin()">X</span>
    <h2>用户登录</h2>
    <span class="log-worry"></span>
    @using (Ajax.BeginForm("Login", "Home", new AjaxOptions { HttpMethod = "post", OnSuccess = "LoginResult" }, new { enctype = "multipart/form-data" }))
    {
        <p class="p-user">用户名：</p>
        @Html.EditorFor(m => m.userName)
        <p>密码：</p>
        @Html.PasswordFor(m => m.usesPwd)
        <button class="log-btn" onclick="return beforeSubmit()">登  录</button>
    }
</div>